﻿<form action="?m=Messages&a=delete" method="post"><table width="100%">
	<tr class="h">
		<td width="20" align="center"><input type="checkbox" value="0" name="Id" onclick="F('input[name=Id]').check(this.checked);" /></td>
		<td width="160">粉丝</td><td width="40">类型</td><td>内容</td><td width="140">时间</td><td width="80">操作</td></tr>
<loop name="Messages">
	<tr class="l <eq name="Messages.FromUserName" value="WxSrcId" type="assign">fromme</else>tome</eq>">
		<td><input type="checkbox" value="{$Messages.Id}" name="Id" /></td>
		<td class="username" rel="<eq name="Messages.ToUserName" value="WxSrcId" type="assign">{$Messages.FromUserName}</else>{$Messages.ToUserName}</eq>">
		<a href="?m=Subscriber&OpenId=<eq name="Messages.ToUserName" value="WxSrcId" type="assign">{$Messages.FromUserName}</else>{$Messages.ToUserName}</eq>">未知</a></td>
		<td>{$Messages.Details:ParseMessage=C__Messages.MsgType}</td>
		<td>{$Messages.CreateTime:F.untimespan}</td>
		<td align="center">
			<expression and="Messages.ToUserName eq WxSrcId as assign" and="Messages.CreateTime gt timespan48 as assign">
			<a onclick="ShowReply('{$Messages.FromUserName}');return false;">回复</a>&nbsp;|&nbsp;</expression><a onclick="ShowDetail({$Messages.Id}); return false;">详情</a></td>
	</tr>
</loop>
	<tr class="l"><td colspan="6"><input type="button" value="删除所选" onclick="DeleteMuti(this.form);" /> <page for="Messages" url="?m=Messages&OpenId={$#Mo.Get.OpenId}&page={#page}" /></td></tr>
</table></form>